package com.zhengaz.service.file.upload;

import com.zhengaz.common.core.constant.Constants;
import com.zhengaz.model.system.domin.FileUpload;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhengzg
 * @create 2023-12-21 15:04
 */
@Api(tags = "文章管理控制器")
@RestController
@RequestMapping(Constants.API + "/upload")
public class UploadController {

    @PostMapping("")
    @ApiOperation("文件上传")
    public void upload(FileUpload fileUpload) {
        // 文件上传逻辑
    }
}
